# Contributor: Michael Pirogov <vbnet.ru@gmail.com>
# Maintainer: Michael Pirogov <vbnet.ru@gmail.com>
pkgname=unclutter-xfixes
pkgver=1.6
pkgrel=1
url="https://github.com/Airblader/unclutter-xfixes"
arch="all"
license="MIT"
pkgdesc="Hides mouse pointer while not in use"
makedepends="libxfixes-dev libev-dev libxi-dev asciidoc"
subpackages="$pkgname-doc"
_myver="$pkgname-$pkgver"
source="$_myver.tar.gz::https://github.com/Airblader/unclutter-xfixes/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	install -D -m755 "$builddir/unclutter" "$pkgdir/usr/bin/$pkgname"
	install -D -m444 "$builddir/man/$pkgname.1" "$pkgdir/usr/share/man/man1/$pkgname.1"
}

sha512sums="
aebcd85d0474471a3cd4a4e190692cf2fe91e47da1057b46e33ee79e5c47e3a488f4ac264530df71a0fbebeb679e0da33bafa19a29c73acd0ae62d0edf8acead  unclutter-xfixes-1.6.tar.gz
"
